package com.atguigu.gulimall.ware.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description:
 * @param:
 * @Return:
 * @Author: 孙维
 * @Create:2021-11-19 20:49
 */
@FeignClient("gulimall-product")
public interface SkuInfoFeginService {

    @RequestMapping("/product/skuinfo/info2/{skuId2}")
    String info2(@RequestBody @PathVariable("skuId2") Long skuId);

}
